package com.cloud.flowable.entity.bo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
@Schema(name = "表单属性类", description = "流程管理")
public class FormConfBo {

    @Schema(description = "标题")
    private String title;

    @Schema(description = "表单名")
    private String formRef;

    @Schema(description = "表单模型")
    private String formModel;

    @Schema(description = "表单尺寸")
    private String size;

    @Schema(description = "标签对齐")
    private String labelPosition;

    @Schema(description = "标签宽度")
    private Integer labelWidth;

    @Schema(description = "校验模型")
    private String formRules;

    @Schema(description = "栅格间隔")
    private Integer gutter;

    @Schema(description = "禁用表单")
    private Boolean disabled = false;

    @Schema(description = "栅格占据的列数")
    private Integer span;

    @Schema(description = "表单按钮")
    private Boolean formBtns = true;

    @Schema(description = "表单项")
    private List<Map<String, Object>> fields;

}
